package cn.hnc.checkapi.bean.datatmp;

import java.io.Serializable;

public class AxServo implements Serializable {
   private static final long serialVersionUID = 4406241704928695589L;
   private String axisName;
   private String servoId;
   private String elecId;
   private String servoModel;
   private String elecModel;
   private String servoProductTime;

   public String getAxisName() {
      return this.axisName;
   }

   public String getServoId() {
      return this.servoId;
   }

   public String getElecId() {
      return this.elecId;
   }

   public String getServoModel() {
      return this.servoModel;
   }

   public String getElecModel() {
      return this.elecModel;
   }

   public String getServoProductTime() {
      return this.servoProductTime;
   }

   public void setAxisName(final String axisName) {
      this.axisName = axisName;
   }

   public void setServoId(final String servoId) {
      this.servoId = servoId;
   }

   public void setElecId(final String elecId) {
      this.elecId = elecId;
   }

   public void setServoModel(final String servoModel) {
      this.servoModel = servoModel;
   }

   public void setElecModel(final String elecModel) {
      this.elecModel = elecModel;
   }

   public void setServoProductTime(final String servoProductTime) {
      this.servoProductTime = servoProductTime;
   }

   public boolean equals(final Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof AxServo)) {
         return false;
      } else {
         AxServo other = (AxServo)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            Object this$axisName = this.getAxisName();
            Object other$axisName = other.getAxisName();
            if (this$axisName == null) {
               if (other$axisName != null) {
                  return false;
               }
            } else if (!this$axisName.equals(other$axisName)) {
               return false;
            }

            Object this$servoId = this.getServoId();
            Object other$servoId = other.getServoId();
            if (this$servoId == null) {
               if (other$servoId != null) {
                  return false;
               }
            } else if (!this$servoId.equals(other$servoId)) {
               return false;
            }

            Object this$elecId = this.getElecId();
            Object other$elecId = other.getElecId();
            if (this$elecId == null) {
               if (other$elecId != null) {
                  return false;
               }
            } else if (!this$elecId.equals(other$elecId)) {
               return false;
            }

            label62: {
               Object this$servoModel = this.getServoModel();
               Object other$servoModel = other.getServoModel();
               if (this$servoModel == null) {
                  if (other$servoModel == null) {
                     break label62;
                  }
               } else if (this$servoModel.equals(other$servoModel)) {
                  break label62;
               }

               return false;
            }

            label55: {
               Object this$elecModel = this.getElecModel();
               Object other$elecModel = other.getElecModel();
               if (this$elecModel == null) {
                  if (other$elecModel == null) {
                     break label55;
                  }
               } else if (this$elecModel.equals(other$elecModel)) {
                  break label55;
               }

               return false;
            }

            Object this$servoProductTime = this.getServoProductTime();
            Object other$servoProductTime = other.getServoProductTime();
            if (this$servoProductTime == null) {
               if (other$servoProductTime != null) {
                  return false;
               }
            } else if (!this$servoProductTime.equals(other$servoProductTime)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(final Object other) {
      return other instanceof AxServo;
   }

   public int hashCode() {
      boolean PRIME = true;
      int result = 1;
      Object $axisName = this.getAxisName();
      result = result * 59 + ($axisName == null ? 43 : $axisName.hashCode());
      Object $servoId = this.getServoId();
      result = result * 59 + ($servoId == null ? 43 : $servoId.hashCode());
      Object $elecId = this.getElecId();
      result = result * 59 + ($elecId == null ? 43 : $elecId.hashCode());
      Object $servoModel = this.getServoModel();
      result = result * 59 + ($servoModel == null ? 43 : $servoModel.hashCode());
      Object $elecModel = this.getElecModel();
      result = result * 59 + ($elecModel == null ? 43 : $elecModel.hashCode());
      Object $servoProductTime = this.getServoProductTime();
      result = result * 59 + ($servoProductTime == null ? 43 : $servoProductTime.hashCode());
      return result;
   }

   public String toString() {
      return "AxServo(axisName=" + this.getAxisName() + ", servoId=" + this.getServoId() + ", elecId=" + this.getElecId() + ", servoModel=" + this.getServoModel() + ", elecModel=" + this.getElecModel() + ", servoProductTime=" + this.getServoProductTime() + ")";
   }
}
